﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Urgencias
{
    public partial class eliminar : Form
    {
        extras ex = new extras();

        public eliminar()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string rut;
            rut = textBox1.Text;
            ex.eliminarPaciente(rut);
            MessageBox.Show("Paciente eliminado satisfactoriamente.");
        }
    }
}
